//
//  GSDKComplatformError.h
//  GameSDK
//
//  Created by Johnny on 2017/7/28.
//  Copyright © 2017年 Johnny. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum  _GSDK_ERROR_STATUS {
    GSDK_ERROR_STATUS_NETWORK,                  //网络错误
    GSDK_ERROR_STATUS_ISLOGIN,                  //已经登录
    GSDK_ERROR_STATUS_NOLOGIN,                  //没有登录
    GSDK_ERROR_STATUS_SERVICE,                  //服务端错误，详细参考返回的message
    GSDK_ERROR_STATUS_PRODUCTLIST_EMPTY,        //商品列表为空状态
    GSDK_ERROR_STATUS_BUY_NOGOODS,              //没有这个商品
    GSDK_ERROR_STATUS_BUY_ERROR,                //购买失败
} _GSDK_ERROR_STATUS;

@interface GSDKErrorStatus : NSObject
@property (nonatomic) int gSDKErrorStatus;
@end

@interface GSDKMessageStatus : NSObject <NSCoding>

@property (nonatomic, copy) NSString *code;         //返回编码
@property (nonatomic, copy) NSString *msg;          //返回信息
@end
